//
//  XGL_CustomHudView.swift
//  XGamesLive
//
//  Created by ios on 2024/5/14.
//

import UIKit
import MXCommonModule

class XGL_CustomHudView: UIView {
    
    lazy var hudView: PanCustomHUD = PanCustomHUD()

    override init(frame: CGRect) {
        super.init(frame: frame)
        self.hudView.indicator.color = .white
        self.addSubview(self.hudView)
        self.hudView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func dismiss(){
        self.removeFromSuperview()
    }
}
